package com.bookStore.model;

import java.math.BigDecimal;

/**
 * Categories entity. @author MyEclipse Persistence Tools
 */

public class Categories implements java.io.Serializable {

	// Fields

	private Integer id;
	private String name;
	private BigDecimal pid;
	private BigDecimal sortNum;

	// Constructors

	/** default constructor */
	public Categories() {
	}

	/** minimal constructor */
	public Categories(Integer id, String name) {
		this.id = id;
		this.name = name;
	}

	/** full constructor */
	public Categories(Integer id, String name, BigDecimal pid,
			BigDecimal sortNum) {
		this.id = id;
		this.name = name;
		this.pid = pid;
		this.sortNum = sortNum;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public BigDecimal getPid() {
		return this.pid;
	}

	public void setPid(BigDecimal pid) {
		this.pid = pid;
	}

	public BigDecimal getSortNum() {
		return this.sortNum;
	}

	public void setSortNum(BigDecimal sortNum) {
		this.sortNum = sortNum;
	}

}